<!DOCTYPE html>
<html lang="en">
<head>
    <!--<meta charset="UTF-8">-->
    <title>ajaxLoad()</title>
    <script src="/jquery-3.2.1.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("button").click(function () {
                $("#div").load("/demo.txt");
            });
        });
    </script>
</head>
<body>
<h1>这是ajaxLoad()的演示</h1>
<div id="div"> </div>
<button>点击显示ajax的内容</button>
</body>
</html>